#ifndef MYPAGE_H
#define MYPAGE_H

#define BtnWidth 100
#define BtnHeight 40

#include <QWidget>
#include <QLabel>
#include <QVBoxLayout>
#include <QStackedWidget>
#include <QPushButton>
#include "network/DataAccess.h"
#include "page/UserProfileHeader.h"
#include "component/BlogListWidget.h"
#include "component/CommentListWidget.h"

class MyPage : public QWidget
{
    Q_OBJECT
public:
    explicit MyPage(QWidget *parent = nullptr);
    QStackedWidget *contentArea;
    BlogListWidget *blogListWidget;
    CommentListWidget *commentListWidget;

signals:
    void logoutSignal();
};

#endif // MYPAGE_H
